// 自动生成模板CaseFacts
package flaud

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 案件事实管理 结构体  CaseFacts
type CaseFacts struct {
	global.GVA_MODEL
	AccuserCharge    *string  `json:"accuserCharge" form:"accuserCharge" gorm:"column:accuser_charge;comment:;type:text;" binding:"required"` //指控内容
	TimePeriod       *string  `json:"timePeriod" form:"timePeriod" gorm:"column:time_period;comment:;" binding:"required"`                    //时间段
	DefendantName    *string  `json:"defendantName" form:"defendantName" gorm:"column:defendant_name;comment:;" binding:"required"`           //被告人
	CriminalActivity *string  `json:"criminalActivity" form:"criminalActivity" gorm:"column:criminal_activity;comment:;" binding:"required"`  //犯罪活动
	CardInfo         *string  `json:"cardInfo" form:"cardInfo" gorm:"column:card_info;comment:;"`                                             //银行卡信息
	ProfitAmount     *float64 `json:"profitAmount" form:"profitAmount" gorm:"column:profit_amount;comment:;" binding:"required"`              //获利金额
	UsedCardCount    *int     `json:"usedCardCount" form:"usedCardCount" gorm:"column:used_card_count;comment:;"`                             //使用银行卡数量
	TotalAmount      *float64 `json:"totalAmount" form:"totalAmount" gorm:"column:total_amount;comment:;"`                                    //总金额
}

// TableName 案件事实管理 CaseFacts自定义表名 case_facts
func (CaseFacts) TableName() string {
	return "case_facts"
}
